package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by magikliu on 2017/8/24.
 */

public class DynamicRelayDetailBean extends BaseBean implements Serializable{

    /**
     * code : 200
     * data : [{"id":"633","uid":"264","form_uid":"390","content":"纪念2017.8.23，天率日！！","rcontent":"Been \n","thing":"0","comment":[{"id":"64","rid":"73","uid":"390","content":"Been eating ","create_time":"1503536735","thing":"0","name":"小率1502954497","sign":null,"unit":null,"email":null,"pass":"5b1b68a9abf4d2cd155c81a9225fd158","code":null,"addtime":"1502954497","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":null,"sex":null,"photo":"1.jpg","tel":"18514028697","status":"1","reply":[{"id":"280","rid":"73","cid":"64","form_uid":"391","to_uid":"390","content":"回复","create_time":"1503542879","name":"小率1502954497","sign":null,"unit":null,"email":null,"pass":"5b1b68a9abf4d2cd155c81a9225fd158","code":null,"addtime":"1502954497","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":null,"uid":"390","sex":null,"photo":"1.jpg","tel":"18514028697","status":"1","f_name":"囧雪","f_photo":"599e3482d6d14.jpg","t_name":"小率1502954497","t_photo":"1.jpg"}]},{"id":"65","rid":"73","uid":"391","content":"评论","create_time":"1503542577","thing":"0","name":"囧雪","sign":"winter is coming","unit":"临冬城","email":null,"pass":"6836f87d9a2ab7d6efe1babca29def5c","code":"944835","addtime":"1503538289","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":"0","sex":"1","photo":"599e3482d6d14.jpg","tel":"18600124077","status":"1","reply":[]}],"relay":"1","create_time":"1503536728","time":"1503533470","table_type":"0","name":"牟奇琴","photo":"59624156b2def.png","rname":"小率1502954497","rphoto":"1.jpg","type":"1","registration_id":"1a1018970a95da780ce","picname":[{"id":"823","uid":null,"did":"633","picname":"599e199f6d687.png","width":"1280","height":"960","create_time":"1503533471"},{"id":"824","uid":null,"did":"633","picname":"599e199f6dae2.png","width":"1280","height":"852","create_time":"1503533471"},{"id":"825","uid":null,"did":"633","picname":"599e199f6df40.png","width":"1280","height":"960","create_time":"1503533471"}],"user_thing":null}]
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 633
         * uid : 264
         * form_uid : 390
         * content : 纪念2017.8.23，天率日！！
         * rcontent : Been

         * thing : 0
         * comment : [{"id":"64","rid":"73","uid":"390","content":"Been eating ","create_time":"1503536735","thing":"0","name":"小率1502954497","sign":null,"unit":null,"email":null,"pass":"5b1b68a9abf4d2cd155c81a9225fd158","code":null,"addtime":"1502954497","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":null,"sex":null,"photo":"1.jpg","tel":"18514028697","status":"1","reply":[{"id":"280","rid":"73","cid":"64","form_uid":"391","to_uid":"390","content":"回复","create_time":"1503542879","name":"小率1502954497","sign":null,"unit":null,"email":null,"pass":"5b1b68a9abf4d2cd155c81a9225fd158","code":null,"addtime":"1502954497","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":null,"uid":"390","sex":null,"photo":"1.jpg","tel":"18514028697","status":"1","f_name":"囧雪","f_photo":"599e3482d6d14.jpg","t_name":"小率1502954497","t_photo":"1.jpg"}]},{"id":"65","rid":"73","uid":"391","content":"评论","create_time":"1503542577","thing":"0","name":"囧雪","sign":"winter is coming","unit":"临冬城","email":null,"pass":"6836f87d9a2ab7d6efe1babca29def5c","code":"944835","addtime":"1503538289","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":"0","sex":"1","photo":"599e3482d6d14.jpg","tel":"18600124077","status":"1","reply":[]}]
         * relay : 1
         * create_time : 1503536728
         * time : 1503533470
         * table_type : 0
         * name : 牟奇琴
         * photo : 59624156b2def.png
         * rname : 小率1502954497
         * rphoto : 1.jpg
         * type : 1
         * registration_id : 1a1018970a95da780ce
         * picname : [{"id":"823","uid":null,"did":"633","picname":"599e199f6d687.png","width":"1280","height":"960","create_time":"1503533471"},{"id":"824","uid":null,"did":"633","picname":"599e199f6dae2.png","width":"1280","height":"852","create_time":"1503533471"},{"id":"825","uid":null,"did":"633","picname":"599e199f6df40.png","width":"1280","height":"960","create_time":"1503533471"}]
         * user_thing : null
         */

        @SerializedName("id")
        private String id;
        @SerializedName("uid")
        private String uid;
        @SerializedName("form_uid")
        private String formUid;
        @SerializedName("content")
        private String content;
        @SerializedName("rcontent")
        private String rcontent;
        @SerializedName("thing")
        private String thing;
        @SerializedName("relay")
        private String relay;
        @SerializedName("create_time")
        private String createTime;
        @SerializedName("time")
        private String time;
        @SerializedName("table_type")
        private String tableType;
        @SerializedName("name")
        private String name;
        @SerializedName("photo")
        private String photo;
        @SerializedName("u_unit")
        private String u_unit;
        @SerializedName("rname")
        private String rname;
        @SerializedName("rphoto")
        private String rphoto;
        @SerializedName("type")
        private String type;
        @SerializedName("registration_id")
        private String registrationId;
        @SerializedName("user_thing")
        private List<UserThingBean> userThing;
        @SerializedName("comment")
        private List<CommentBean> comment;
        @SerializedName("picname")
        private List<PicnameBean> picname;
        @SerializedName("is_thing")
        private int is_thing;
        @SerializedName("comment_relay")
        private String comment_relay;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getFormUid() {
            return formUid;
        }

        public void setFormUid(String formUid) {
            this.formUid = formUid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getRcontent() {
            return rcontent;
        }

        public void setRcontent(String rcontent) {
            this.rcontent = rcontent;
        }

        public String getThing() {
            return thing;
        }

        public void setThing(String thing) {
            this.thing = thing;
        }

        public String getRelay() {
            return relay;
        }

        public void setRelay(String relay) {
            this.relay = relay;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTableType() {
            return tableType;
        }

        public void setTableType(String tableType) {
            this.tableType = tableType;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getU_unit(){
            return u_unit;
        }

        public void setU_unit(String u_unit){
            this.u_unit = u_unit;
        }

        public String getRname() {
            return rname;
        }

        public void setRname(String rname) {
            this.rname = rname;
        }

        public String getRphoto() {
            return rphoto;
        }

        public void setRphoto(String rphoto) {
            this.rphoto = rphoto;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getRegistrationId() {
            return registrationId;
        }

        public void setRegistrationId(String registrationId) {
            this.registrationId = registrationId;
        }

        public List<UserThingBean> getUserThing() {
            return userThing;
        }

        public void setUserThing(List<UserThingBean> userThing) {
            this.userThing = userThing;
        }
        public int getIs_thing() {
            return is_thing;
        }

        public void setIs_thing(int is_thing) {
            this.is_thing = is_thing;
        }

        public List<CommentBean> getComment() {
            return comment;
        }

        public void setComment(List<CommentBean> comment) {
            this.comment = comment;
        }

        public List<PicnameBean> getPicname() {
            return picname;
        }

        public void setPicname(List<PicnameBean> picname) {
            this.picname = picname;
        }

        public String getComment_relay() {
            return comment_relay;
        }

        public void setComment_relay(String comment_relay) {
            this.comment_relay = comment_relay;
        }

        public static class CommentBean implements Serializable{
            /**
             * id : 64
             * rid : 73
             * uid : 390
             * content : Been eating
             * create_time : 1503536735
             * thing : 0
             * name : 小率1502954497
             * sign : null
             * unit : null
             * email : null
             * pass : 5b1b68a9abf4d2cd155c81a9225fd158
             * code : null
             * addtime : 1502954497
             * codetimes : null
             * state : 0
             * activated : 1
             * qq : null
             * sina : null
             * wetch : null
             * attestaction : null
             * sex : null
             * photo : 1.jpg
             * tel : 18514028697
             * status : 1
             * reply : [{"id":"280","rid":"73","cid":"64","form_uid":"391","to_uid":"390","content":"回复","create_time":"1503542879","name":"小率1502954497","sign":null,"unit":null,"email":null,"pass":"5b1b68a9abf4d2cd155c81a9225fd158","code":null,"addtime":"1502954497","codetimes":null,"state":"0","activated":"1","qq":null,"sina":null,"wetch":null,"attestaction":null,"uid":"390","sex":null,"photo":"1.jpg","tel":"18514028697","status":"1","f_name":"囧雪","f_photo":"599e3482d6d14.jpg","t_name":"小率1502954497","t_photo":"1.jpg"}]
             */

            @SerializedName("id")
            private String id;
            @SerializedName("rid")
            private String rid;
            @SerializedName("uid")
            private String uid;
            @SerializedName("content")
            private String content;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("thing")
            private String thing;
            @SerializedName("name")
            private String name;
            @SerializedName("sign")
            private String sign;
            @SerializedName("unit")
            private String unit;
            @SerializedName("email")
            private String email;
            @SerializedName("pass")
            private String pass;
            @SerializedName("code")
            private String code;
            @SerializedName("addtime")
            private String addtime;
            @SerializedName("codetimes")
            private Object codetimes;
            @SerializedName("state")
            private String state;
            @SerializedName("activated")
            private String activated;
            @SerializedName("qq")
            private Object qq;
            @SerializedName("sina")
            private Object sina;
            @SerializedName("wetch")
            private Object wetch;
            @SerializedName("attestaction")
            private Object attestaction;
            @SerializedName("sex")
            private Object sex;
            @SerializedName("photo")
            private String photo;
            @SerializedName("tel")
            private String tel;
            @SerializedName("status")
            private String status;
            @SerializedName("reply")
            private List<ReplyBean> reply;
            @SerializedName("is_thing")
            private int is_thing;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getRid() {
                return rid;
            }

            public void setRid(String rid) {
                this.rid = rid;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getThing() {
                return thing;
            }

            public void setThing(String thing) {
                this.thing = thing;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getPass() {
                return pass;
            }

            public void setPass(String pass) {
                this.pass = pass;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public Object getCodetimes() {
                return codetimes;
            }

            public void setCodetimes(Object codetimes) {
                this.codetimes = codetimes;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getActivated() {
                return activated;
            }

            public void setActivated(String activated) {
                this.activated = activated;
            }

            public Object getQq() {
                return qq;
            }

            public void setQq(Object qq) {
                this.qq = qq;
            }

            public Object getSina() {
                return sina;
            }

            public void setSina(Object sina) {
                this.sina = sina;
            }

            public Object getWetch() {
                return wetch;
            }

            public void setWetch(Object wetch) {
                this.wetch = wetch;
            }

            public Object getAttestaction() {
                return attestaction;
            }

            public void setAttestaction(Object attestaction) {
                this.attestaction = attestaction;
            }

            public Object getSex() {
                return sex;
            }

            public void setSex(Object sex) {
                this.sex = sex;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public List<ReplyBean> getReply() {
                return reply;
            }

            public void setReply(List<ReplyBean> reply) {
                this.reply = reply;
            }

            public int getIs_thing() {
                return is_thing;
            }

            public void setIs_thing(int is_thing) {
                this.is_thing = is_thing;
            }

            public static class ReplyBean implements Serializable{
                /**
                 * id : 280
                 * rid : 73
                 * cid : 64
                 * form_uid : 391
                 * to_uid : 390
                 * content : 回复
                 * create_time : 1503542879
                 * name : 小率1502954497
                 * sign : null
                 * unit : null
                 * email : null
                 * pass : 5b1b68a9abf4d2cd155c81a9225fd158
                 * code : null
                 * addtime : 1502954497
                 * codetimes : null
                 * state : 0
                 * activated : 1
                 * qq : null
                 * sina : null
                 * wetch : null
                 * attestaction : null
                 * uid : 390
                 * sex : null
                 * photo : 1.jpg
                 * tel : 18514028697
                 * status : 1
                 * f_name : 囧雪
                 * f_photo : 599e3482d6d14.jpg
                 * t_name : 小率1502954497
                 * t_photo : 1.jpg
                 */

                @SerializedName("id")
                private String id;
                @SerializedName("rid")
                private String rid;
                @SerializedName("cid")
                private String cid;
                @SerializedName("form_uid")
                private String formUid;
                @SerializedName("to_uid")
                private String toUid;
                @SerializedName("content")
                private String content;
                @SerializedName("create_time")
                private String createTime;
                @SerializedName("name")
                private String name;
                @SerializedName("sign")
                private Object sign;
                @SerializedName("unit")
                private Object unit;
                @SerializedName("email")
                private Object email;
                @SerializedName("pass")
                private String pass;
                @SerializedName("code")
                private Object code;
                @SerializedName("addtime")
                private String addtime;
                @SerializedName("codetimes")
                private Object codetimes;
                @SerializedName("state")
                private String state;
                @SerializedName("activated")
                private String activated;
                @SerializedName("qq")
                private Object qq;
                @SerializedName("sina")
                private Object sina;
                @SerializedName("wetch")
                private Object wetch;
                @SerializedName("attestaction")
                private Object attestaction;
                @SerializedName("uid")
                private String uid;
                @SerializedName("sex")
                private Object sex;
                @SerializedName("photo")
                private String photo;
                @SerializedName("tel")
                private String tel;
                @SerializedName("status")
                private String status;
                @SerializedName("f_name")
                private String fName;
                @SerializedName("f_photo")
                private String fPhoto;
                @SerializedName("t_name")
                private String tName;
                @SerializedName("t_photo")
                private String tPhoto;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getRid() {
                    return rid;
                }

                public void setRid(String rid) {
                    this.rid = rid;
                }

                public String getCid() {
                    return cid;
                }

                public void setCid(String cid) {
                    this.cid = cid;
                }

                public String getFormUid() {
                    return formUid;
                }

                public void setFormUid(String formUid) {
                    this.formUid = formUid;
                }

                public String getToUid() {
                    return toUid;
                }

                public void setToUid(String toUid) {
                    this.toUid = toUid;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public Object getSign() {
                    return sign;
                }

                public void setSign(Object sign) {
                    this.sign = sign;
                }

                public Object getUnit() {
                    return unit;
                }

                public void setUnit(Object unit) {
                    this.unit = unit;
                }

                public Object getEmail() {
                    return email;
                }

                public void setEmail(Object email) {
                    this.email = email;
                }

                public String getPass() {
                    return pass;
                }

                public void setPass(String pass) {
                    this.pass = pass;
                }

                public Object getCode() {
                    return code;
                }

                public void setCode(Object code) {
                    this.code = code;
                }

                public String getAddtime() {
                    return addtime;
                }

                public void setAddtime(String addtime) {
                    this.addtime = addtime;
                }

                public Object getCodetimes() {
                    return codetimes;
                }

                public void setCodetimes(Object codetimes) {
                    this.codetimes = codetimes;
                }

                public String getState() {
                    return state;
                }

                public void setState(String state) {
                    this.state = state;
                }

                public String getActivated() {
                    return activated;
                }

                public void setActivated(String activated) {
                    this.activated = activated;
                }

                public Object getQq() {
                    return qq;
                }

                public void setQq(Object qq) {
                    this.qq = qq;
                }

                public Object getSina() {
                    return sina;
                }

                public void setSina(Object sina) {
                    this.sina = sina;
                }

                public Object getWetch() {
                    return wetch;
                }

                public void setWetch(Object wetch) {
                    this.wetch = wetch;
                }

                public Object getAttestaction() {
                    return attestaction;
                }

                public void setAttestaction(Object attestaction) {
                    this.attestaction = attestaction;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public Object getSex() {
                    return sex;
                }

                public void setSex(Object sex) {
                    this.sex = sex;
                }

                public String getPhoto() {
                    return photo;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public String getTel() {
                    return tel;
                }

                public void setTel(String tel) {
                    this.tel = tel;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getFName() {
                    return fName;
                }

                public void setFName(String fName) {
                    this.fName = fName;
                }

                public String getFPhoto() {
                    return fPhoto;
                }

                public void setFPhoto(String fPhoto) {
                    this.fPhoto = fPhoto;
                }

                public String getTName() {
                    return tName;
                }

                public void setTName(String tName) {
                    this.tName = tName;
                }

                public String getTPhoto() {
                    return tPhoto;
                }

                public void setTPhoto(String tPhoto) {
                    this.tPhoto = tPhoto;
                }
            }
        }

        public static class PicnameBean implements Serializable{
            /**
             * id : 823
             * uid : null
             * did : 633
             * picname : 599e199f6d687.png
             * width : 1280
             * height : 960
             * create_time : 1503533471
             */

            @SerializedName("id")
            private String id;
            @SerializedName("uid")
            private Object uid;
            @SerializedName("did")
            private String did;
            @SerializedName("picname")
            private String picname;
            @SerializedName("width")
            private String width;
            @SerializedName("height")
            private String height;
            @SerializedName("create_time")
            private String createTime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getUid() {
                return uid;
            }

            public void setUid(Object uid) {
                this.uid = uid;
            }

            public String getDid() {
                return did;
            }

            public void setDid(String did) {
                this.did = did;
            }

            public String getPicname() {
                return picname;
            }

            public void setPicname(String picname) {
                this.picname = picname;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }

        public static class UserThingBean implements Serializable{
            @SerializedName("photo")
            private String photo;
            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
